package com.stylefeng.guns.modular.system.warpper;

import java.util.List;
import java.util.Map;

import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;

public class RealTimeWarpper extends BaseControllerWarpper{

	public RealTimeWarpper(List<Map<String, Object>> list) {
        super(list);
    }

    @Override
    public void warpTheMap(Map<String, Object> map) {
    	Long gType = (Long)map.get("gType");
    	if(gType == 8214l){
    		map.put("gType", "<font color='green'><b>60日新低</font></b>");
    	}else if(gType == 8202l){
    		map.put("gType", "<font color='red'><b>快速反弹</font></b>");
    	}else if(gType == 8194l){
    		map.put("gType", "<font color='green'><b>大笔卖出</font></b>");
    	}else if(gType == 128l){
    		map.put("gType", "<font color='green'><b>有大卖盘</font></b>");
    	}else if(gType == 8203l){
    		map.put("gType", "<font color='green'><b>高台跳水</font></b>");
    	}else if(gType == 8193l){
    		map.put("gType", "<font color='red'><b>大笔买入</font></b>");
    	}else if(gType == 8l){
    		map.put("gType", "<font color='green'><b>封跌停板</font></b>");
    	}else if(gType == 32l){
    		map.put("gType", "<font color='red'><b>打开跌停板</font></b>");
    	}else if(gType == 8201l){
    		map.put("gType", "<font color='red'><b>快速反弹</font></b>");
    	}else if(gType == 64l){
    		map.put("gType", "<font color='red'><b>有大买盘</font></b>");
    	}else if(gType == 4l){
    		map.put("gType", "<font color='red'><b>封涨停板</font></b>");
    	}else if(gType == 8215l){
    		map.put("gType", "<font color='red'><b>60日大幅上涨</font></b>");
    	}else if(gType == 16l){
    		map.put("gType", "<font color='green'><b>打开涨停板</font></b>");
    	}else if(gType == 8213l){
    		map.put("gType", "<font color='red'><b>60日新高</font></b>");
    	}else if(gType == 8204l){
    		map.put("gType", "<font color='green'><b>加速下跌</font></b>");
    	}else if(gType == 8216l){
    		map.put("gType", "<font color='green'><b>60日大幅下跌</font></b>");
    	}else if(gType == 8212l){
    		map.put("gType", "<font color='green'><b>向下缺口</font></b>");
    	}else if(gType == 8211l){
    		map.put("gType", "<font color='red'><b>向上缺口</font></b>");
    	}else if(gType == 8207l){
    		map.put("gType", "<font color='red'><b>竞价上涨</font></b>");
    	}else if(gType == 8208l){
    		map.put("gType", "<font color='green'><b>竞价下跌</font></b>");
    	}else if(gType == 8209l){
    		map.put("gType", "<font color='red'><b>高开5日线</font></b>");
    	}else if(gType == 8210l){
    		map.put("gType", "<font color='green'><b>低开5日线</font></b>");
    	}
    	
    	
    }
}
